<template>
  <div>
    <el-breadcrumb separator-class="el-icon-arrow-right">
      <el-breadcrumb-item :to="{ path: '/index' }">首页</el-breadcrumb-item>
      <el-breadcrumb-item>{{path.oneName}}</el-breadcrumb-item>
      <el-breadcrumb-item>{{path.twoName}}</el-breadcrumb-item>
    </el-breadcrumb>
  </div>
</template>

<script>
export default {
    data(){
        return{
            path:JSON.parse(sessionStorage.getItem('path'))
        }
    }
};
</script>

<style lang="scss" scoped>
</style>